package org.linlinjava.litemall.db.dao;

import java.util.List;

import com.github.yulichang.base.MPJBaseMapper;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.domain.LumiereSubscribeGoods;
import org.linlinjava.litemall.db.domain.LumiereSubscribeGoodsExample;

public interface LumiereSubscribeGoodsMapper extends MPJBaseMapper<LumiereSubscribeGoods> {
    long countByExample(LumiereSubscribeGoodsExample example);

    int deleteByExample(LumiereSubscribeGoodsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(LumiereSubscribeGoods record);

    int insertSelective(LumiereSubscribeGoods record);

    LumiereSubscribeGoods selectOneByExample(LumiereSubscribeGoodsExample example);

    LumiereSubscribeGoods selectOneByExampleSelective(@Param("example") LumiereSubscribeGoodsExample example, @Param("selective") LumiereSubscribeGoods.Column ... selective);

    List<LumiereSubscribeGoods> selectByExampleSelective(@Param("example") LumiereSubscribeGoodsExample example, @Param("selective") LumiereSubscribeGoods.Column ... selective);

    List<LumiereSubscribeGoods> selectByExample(LumiereSubscribeGoodsExample example);

    LumiereSubscribeGoods selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LumiereSubscribeGoods.Column ... selective);

    LumiereSubscribeGoods selectByPrimaryKey(Integer id);

    LumiereSubscribeGoods selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") LumiereSubscribeGoods record, @Param("example") LumiereSubscribeGoodsExample example);

    int updateByExample(@Param("record") LumiereSubscribeGoods record, @Param("example") LumiereSubscribeGoodsExample example);

    int updateByPrimaryKeySelective(LumiereSubscribeGoods record);

    int updateByPrimaryKey(LumiereSubscribeGoods record);

    int logicalDeleteByExample(@Param("example") LumiereSubscribeGoodsExample example);

    int logicalDeleteByPrimaryKey(Integer id);
}